Part Number Hot Search : 
FAIRCHIL PL8122 LT1185I 74HC40 Z5237 5K11FKR3 ES519 M74AL
Product Description
Full Text Search
 

To Download AN1505 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AN1505
In-Situ Programming Program ST727x4 monitor MCU OTP Family on Application
WRITTEN BY PASCAL JANIN
DESCRIPTION
The OTP versions of the ST727x4 Monitor MCU Family are normally programmed with their specific Eprom Programmer Board (EPB). The blank MCU is inserted in the EPB, which is a separate unit, then programmed with the desired binary contents. Depending on the customer's application, programming the MCU directly on the final application itself, once the chip has been soldered on it rather than before, is more suitable. For example, in the case of a TQFP-44 package, the sockets of which are very expensive, and when the customer cannot afford to put one on every application board, the MCU must be soldered along with the rest of the components. This often requires late programming, once the MCU has been soldered. This MCU family provides a way to achieve this In-Situ Programming with the use of JTAG connector located on the EPB. This connector which links the board to a few specific MCU pins is used to program when on application.
Parallel Cable
ST7 EPB
JTAG Link
Computer
Programmer Board
Customer Application
IN-SITU PROGRAMMING FEATURES
s Programming is achieved even if the chip is already soldered on the application s JTAG link requires the normal EPB board and a simple, inexpensive flat cable s JTAG link is connects to only a few MCU pins s Those MCU pins are also used as usual with minor restrictions, they are not dedicated s Normal EPB Software (WinEE, STVP7..) is run and all usual features are available : blank check, program, verify..
DRAWBACK
s Programming operation is only done once (OTP memory array)
20 December 2001 ADCS 7366689 STMicroelectronics 1/6
AN1505
Prerequisites
This Application Note describes how to connect an EPB board to a ST7 already installed in the customer's final application or to the ST727x4 Demoboard. For this, the following equipment is required:
q
The specific EPB Board used by the customer for the MCU(such as ST727x4-EPB) and its accessories (parallel cable, power supply etc) The EPB S/W running on the computer: STVP7 (recommended) or WinEE A flat ribbon cable (refer to respective section below) used for JTAG communication The matching JTAG connector on the customer's application with all needed signals routed to the corresponding MCU pins (refer to respective section below) (optional) The ST727x4 Demoboard to test
q q q
q
JTAG ribbon cable
This cable is made of two HE-10 16 pin female crimp connectors, mounted on a piece of flat ribbon cable of the desired length (20 to 30 cm):
Figure 1: JTAG ribbon cable
The female connectors that plugs into the EPB is mandatory. At the other end, the same HE-10 connector is used if plugged into the ST727x4 demoboard. Otherwise, any connector at the customer's choice can be used, although the same connector is strongly recommended.
Note
The cable should be kept as short as possible, since the signals issued by the EPB are not buffered enough to be conveyed over long cables.
Connection between EPB and Customer Application
One end of the JTAG cable goes to the matching male header connector labelled "W1" on the EPB. The other end goes to the matching male connector on the ST727x4 demoboard, or on the customer's final application. Table 1 shows the "W1" connector pinout on the EPB, and the "J6" connector pinout on the ST727x4 Demoboard, the other pins are not used.
ADCS 7366689
STMicroelectronics
2/6
AN1505
Table 1: "W1" and J6 connector pinout Connector Pin #
JTCK OSCIN JTMS RESET JTDI JTDO Ground VPP/TEST
Signal
1 2 3 4 5 7 15 16
For use with the ST727x4 Demoboard
This demoboard is shipped with a mating JTAG HE-10 connector labelled "J6", fitted for the cable previously described. However, the previous revisions of the ST727x4 demoboard need slightly modifying for the JTAG communication:
q
The C15 capacitor (47uf) must be removed It has been removed on all recent boards as it does not affect normal demoboard behaviour The Bicolour LED LD13 (DPMS) must also be removed This LED, currently used in monitor S/W, is best mounted on socket for easy insertion/removal
q
A jumper setting must then be changed on ALL demoboards:
q
The J7 jumper must be moved upwards from position "XTAL" to position "CLK_JTAG", since the JTAG interface drives the ST7 clock Once the JTAG operation is completed, this jumper must be put back on the "XTAL" default position
q
3/6
STMicroelectronics
ADCS 7366689
AN1505
The EPB and the Demoboard are cross-connected when all the previously described modifications have been applied, as shown below in Figure 2 with red rectangles.
Figure 2: EPB and Demoboard Cross-connection
JTAG pins on the MCU
Some MCU pins have an alternate assignment to JTAG signals while the other pins are don't care. Specific restrictions must be considered carefully closely. Still, pullups are allowed on all pins (except TEST/VPP):
Table 2: JTAG pins assigment Direction (ST7)
I I
JTAG signal
TEST/VPP RESET
Pin # on SDIP42
41 40
Pin # on TQFP44
37 36
Specific Restrictions
Use a 10K pulldown resistor to ground, do NOT use a fixed ground level External reset circuitry must not interfere. For that purpose, use 1K serial resistor inbetween to allow driving by JTAG The crystal should not interfere Do NOT drive a LED or a potentially dangerous circuitry directly with the pin. (if used as output in the application)
OSCIN JTMS JTCK JTDI JTDO
I I I I/O O
33 36 (PA4) 34 (PA6) 31 (PA7) 11 (PB5)
29 32 (PA4) 30 (PA6) 27 (PA7) 5 (PB5)
ADCS 7366689
STMicroelectronics
4/6
AN1505
Other set-ups
Connect the EPB to the PC via its parallel cable, and to the main AC plug via its power supply adaptor. The ST727x4 Demoboard (if used) or the customer's application must also be power supplied. The JTAG cable does not provide +5V power to the external application.
Running the EPB S/W
The usual STVP7 (recommended) or WinEE softwares are unchanged: same features, same programming time, LEDs are still active etc.. There is no remarquable difference, apart from the fact that the ZIF socket on the EPB remains empty.
5/6
STMicroelectronics
ADCS 7366689
AN1505
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products a r e no t a u t h or i z e d f or us e a s c r i t ic a l c om p o n e n ts i n l i f e s u pp o r t d ev i c es o r sy s te m s w it h o u t t h e express written approval of STMicroelectronics.
The ST logo is a registered trademark of STMicroelectronics. (c) 2001 STMicroelectronics. All Rights Reserved. STMicroelectronics Group of Companies Australia - Brazil - Canada - China - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. http://www.st.com
6/6
STMicroelectronics
ADCS 7366689A


▲Up To Search▲   

 
Price & Availability of AN1505

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X